<?php

	require("header.php");
	require("table_des_matieres.php");

?>

	<form action="" method="POST">
	
					<input type="hidden" name="e-mail" value="">	
			<fieldset id="coordonnee">
			<legend><?php echo $language[$_SESSION['lang']]["AddGood"]; ?></legend>
	
		<p>
			
						<label class = "text" for = "capacité"><?php echo $language[$_SESSION['lang']]["WriteGoodName"]; ?></label>
						<input class="text" type= "text"  name="nom"/>
			
		</p>
		<p>
			
						<label class = "text" for = "capacité"><?php echo $language[$_SESSION['lang']]["Capacity"]; ?></label>
						<input class="text" type= "text"  name="capacity"/>
			
		</p>
		<p>
		
						<label class = "text" for = "categorie"><?php echo $language[$_SESSION['lang']]["Category"]; ?></label>
						<input class="text" type= "text"  name="categorie"/>
		
		</p>
		<?php require("adresse.php"); ?>
		<br />
		
				<label class = "text" for = "intermconnu"><?php echo $language[$_SESSION['lang']]["ChooseKnownInt"]; ?></label>
				<select name = "intermedconnu">
				<?php
				foreach ($intermediaires as $intermed)
				{
						echo "<option value='".$intermed->id."'>".$intermed->nom." ".$intermed->prenom." (".$intermed->login.")</option>";
				}
				?>
				</select>
		</p>
		<p>
				<label class = "text" for = "newinterm"><?php echo $language[$_SESSION['lang']]["Or"]." ".$language[$_SESSION['lang']]["AddNewInt"]; ?></label>
				<input class = "text" type = "text" name = "newinterm"/>
				
		
		</p>
	
		</fieldset>
		
		<p class="envoy">
				<label class="text">&nbsp;</label><input id="validSearch" type="submit" name="valider" value="<?php echo $language[$_SESSION['lang']]["Valid"]; ?>" />
				<input type="reset" value="<?php echo $language[$_SESSION['lang']]["Erase"]; ?>" />
		</p>
	
	</form>

<?php
	
	require("footer.php");

?>
